Skip to content

Conversation

@define-null
Copy link
Collaborator

@define-null define-null commented Jan 14, 2026

What is this PR about?

PR adds workflow with jobs for running clippy, unit tests and format checks. The list of checks for clippy and default fmt rules are left as is to open the discussion rather then necessarily advocate for the particular rules or style settings.

@define-null define-null marked this pull request as ready for review January 14, 2026 09:41
@define-null define-null changed the title Add workflow for running tests on CI Add workflow for running tests/lints/format checks on CI Jan 14, 2026
@define-null define-null changed the title Add workflow for running tests/lints/format checks on CI chore: Add workflow for running tests/lints/format checks on CI Jan 14, 2026
steps:
- uses: actions/checkout@v4
- uses: dsherret/rust-toolchain-file@v1
- run: cargo fmt --all -- --check
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem with formatting is that Eldar used a custom styleguide for this repo, allowing 2 empty lines between the blocks. However, the blank_lines_upper_bound option in rustfmt is still unstable. So applying the formatting at the moment will try to remove extra empty lines in all of the files

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we consider unifying the style-guides on the org level or at least standardizing style-guide for the repo so that it can be enforced? Otherwise either no style guide is followed, or it becomes tedious to battle with the tools, that apply default fmt rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants